package com.google.code.mamule.delivery;

/**
 * Created with IntelliJ IDEA. User: borck_000 ; Date: 12/25/13 ; Time: 5:13 PM
 */
public interface DeliveryCallback {

  /**
   * called when mail has been sent on the way to receiver
   */
  void onMailSent(Long id);

  /**
   * called when REGISTERED mail is delivered to receiver
   */
  void onMailDelivered(Long id);
}
